package com.five.dao.reception;

import com.five.entity.backstage.TUser;

import java.util.List;
import java.util.Map;

public interface UserDao {
    List<Map> queryAll();
    int delUser(String uid);
    int add(TUser u);
    int register(TUser u);
    Map findUserById(String uid);
    List<Map> findUserByIdCard(String idCard);
    List<Map> findUserByPhone(String phone);
    List<Map> findUserByNamePwd(String name,String pwd);
    public List<Map> findName(String name, String password);
    int updatae(String id,String pwd,String newpwd);
}
